<template>
  <div>
    基础参数设置
    <ul>
        <li v-for="item in $rxRouterInfo.menus" :key="item.pagename" :class="{
          active:$rxRouterInfo.current.pagename===item.pagename
        }"><a :href="'#'+item.path">{{item.name}}</a></li>
    </ul>
     <component v-for="item in $rxRouterInfo.pages" :is="item.pagename" :key="item.pagename" v-show="$rxRouterInfo.current.pagename===item.pagename" :ref="item.pagename"/>
     <!-- {{JSON.stringify($rxRouterInfo)}} -->
  </div>

</template>

<script>
export default {

  methods: {
    remove(item) {
      this.$rxRouterInfo.removePage(item);
    }
  },
};
</script>

<style>

</style>
